package org.shopen.puremvc.model
{
	import mx.collections.ArrayCollection;
	
	import org.puremvc.as3.patterns.proxy.Proxy;
	import org.shopen.puremvc.model.vo.FileType;

	public class ConfigProxy extends Proxy
	{
		public static const NAME : String = "ConfigProxy";
		
		public function ConfigProxy(data:Object=null)
		{
			super(ConfigProxy.NAME, data);
		}
		
		public function getFileTypes() : ArrayCollection
		{
			var result : ArrayCollection = new ArrayCollection();
			result.addItem(FileType.createFileType(FileType.JPEG, "*.jpeg (Photos)"));
			result.addItem(FileType.createFileType(FileType.GIF, "*.gif (Icons)"));
			result.addItem(FileType.createFileType(FileType.PNG, "*.png (Web-graphics)"));
			
			return result;
		}
		
		public function getToolboxDataUrl() : String
		{
			return "assets/data/tools.xml";
		}
	}
}